package cn.stylefeng.guns.modular.score.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

/**
 * <p>
 * 排名表
 * </p>
 *
 * @author dong
 * @since 2023-04-21
 */
@TableName("score_info")
public class ScoreInfo implements Serializable {

    private static final long serialVersionUID=1L;

    /**
     * 成绩ID
     */
      @TableId(value = "score_id", type = IdType.AUTO)
    private Integer scoreId;

    /**
     * 小队ID
     */
    @TableField("team_id")
    private Integer teamId;

    /**
     * 模块ID
     */
    @TableField("module_id")
    private Integer moduleId;

    /**
     * 总积分
     */
    @TableField("total_points")
    private Integer totalPoints;

    /**
     * 总时间
     */
    @TableField("total_time")
    private Date totalTime;


    public Integer getScoreId() {
        return scoreId;
    }

    public void setScoreId(Integer scoreId) {
        this.scoreId = scoreId;
    }

    public Integer getTeamId() {
        return teamId;
    }

    public void setTeamId(Integer teamId) {
        this.teamId = teamId;
    }

    public Integer getModuleId() {
        return moduleId;
    }

    public void setModuleId(Integer moduleId) {
        this.moduleId = moduleId;
    }

    public Integer getTotalPoints() {
        return totalPoints;
    }

    public void setTotalPoints(Integer totalPoints) {
        this.totalPoints = totalPoints;
    }

    public Date getTotalTime() {
        return totalTime;
    }

    public void setTotalTime(Date totalTime) {
        this.totalTime = totalTime;
    }

    @Override
    public String toString() {
        return "ScoreInfo{" +
        "scoreId=" + scoreId +
        ", teamId=" + teamId +
        ", moduleId=" + moduleId +
        ", totalPoints=" + totalPoints +
        ", totalTime=" + totalTime +
        "}";
    }
}
